package com.gao.builder;

import com.gao.domain.House;
import com.gao.domain.StoneHouse;

/**
 * @author GaoXi
 * @date 2021/5/19 20:18
 */
public class StoneHouseBuilder implements HouseBuilder {

    private StoneHouse stoneHouse;

    @Override
    public void buildAround() {
        //用车拉来一堆石头
        //用石头围成四面墙
    }
    @Override
    public void addRoof() {
        //用石板做屋顶
    }
    @Override
    public void addDoor() {
        //用石头做个门，并安装
    }
    @Override
    public void addWindows() {
        //石头墙凿个洞并安装窗户。
    }
    @Override
    public House getResult() {
        return stoneHouse;
    }
}
